load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "mysql",
    srcs = [
        "auth.go",
        "buffer.go",
        "collations.go",
        "conncheck.go",
        "conncheck_dummy.go",
        "connection.go",
        "connector.go",
        "const.go",
        "driver.go",
        "dsn.go",
        "errors.go",
        "fields.go",
        "infile.go",
        "nulltime.go",
        "nulltime_go113.go",
        "nulltime_legacy.go",
        "packets.go",
        "result.go",
        "rows.go",
        "statement.go",
        "transaction.go",
        "utils.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/go-sql-driver/mysql",
    importpath = "github.com/go-sql-driver/mysql",
    visibility = ["//visibility:public"],
)
